package org.foj.view.components
{
import flexunit.framework.TestCase;
import flexunit.framework.TestSuite;

import org.foj.view.components.IssueUtil;
import org.foj.view.MasterView;

public class TestIssueUtilFilterReset extends TestCase
{

  private var _mv:MasterView;
  private var _issueUtil:IssueUtil;

  override public function setUp():void
  {
    _mv = new MasterView();
    _issueUtil = new IssueUtil();
  }

  public function testFilterReset():void {

    assertNotNull("MasterView is null!", _mv);
    assertNotNull("IssueUtil is null!", _issueUtil);

    //_mv.filterByProject.selectedItem = "1";
    //	  mv.filterByType.selectedItem = "1";
    //	  mv.filterBySeverity.selectedItem = "1";
    //	  mv.filterByStatus.selectedItem = "1";

    //issueUtil.resetFilter(mv);

    //assertEquals("", mv.filterByProject.selectedItem);
    //      assertEquals("", mv.filterBySeverity.selectedItem);
    //      assertEquals("", mv.filterByStatus.selectedItem);
    //      assertEquals("", mv.filterByType.selectedItem);

  }

}
}